package com.sy.mapper;

import org.apache.ibatis.annotations.Param;

/**
 * @author Yasuda-T
 * @version 1.0
 * @date 2020/9/14 16:40
 * @usage 公告相关的修改删除
 */
public interface AnnouncementMapper {

    //修改公告
    Integer changeNoticeInfo(@Param("title") String title, @Param("content") String content,
                             @Param("teacher_id") Integer teacherId, @Param("id") Integer id);


    //删除公告
    Integer delNotice(@Param("id") Integer id,@Param("state")Integer state);
}
